package com.ruoyi.group.service;

import com.ruoyi.group.domain.Orderdetail;
import com.ruoyi.group.domain.RpRepairOrder;
import com.ruoyi.group.domain.dto.RepairListDto;
import com.ruoyi.group.domain.dto.RepairOrderDto;
import com.ruoyi.group.domain.dto.RepairOrderQualitiedDto;
import com.ruoyi.group.domain.dto.daomin.RepairOrderDtoMin;

import java.util.List;

/**
 * @Author:黄志超
 * @Todo:用户查看工单
 * @DateTime:2022/3/8 14:52
 * @Component:蜗牛
 **/
public interface IRepairOrderService {
    //用户提交工单表
    boolean OrderJoin(RpRepairOrder repairOrder);
    //用户查看自己的工单表
    List<RepairOrderDto> findOrder(RepairOrderDtoMin repairOrderDtoMin );


    Orderdetail findSerialNumber(String serialnumber);

    boolean delectOrder(String orderOn);

    List<RepairOrderQualitiedDto> findQualitied(RpRepairOrder rpRepairOrder);

    RepairOrderDto findRepairById(int id);

    //查询工单列表的工单
    List<RepairListDto> findOrderList(RpRepairOrder rpRepairOrder);
}
